#if !defined(AFX_SETLOCALUSERINFO_H__059AF586_413D_4827_8318_F60EA483B388__INCLUDED_)
#define AFX_SETLOCALUSERINFO_H__059AF586_413D_4827_8318_F60EA483B388__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SetLocalUserInfo.h : header file
//

#include "UserMsg.h"

/////////////////////////////////////////////////////////////////////////////
// CSetLocalUserInfo dialog

class CSetLocalUserInfo : public CDialog
{
// Construction
public:
	BOOL m_bEnterOK;
	CSetLocalUserInfo(BC_INFO &userInfo, CString strKey, CWnd* pParent = NULL);   // standard constructor
	int GetUserInfo(BC_INFO &userInfo, CString &strKey);

// Dialog Data
	//{{AFX_DATA(CSetLocalUserInfo)
	enum { IDD = IDD_LOCALINFO };
	CComboBox	m_ctlSexList;
	CButton	m_ctlSetKey;
	CString	m_strKey1;
	CString	m_strKey2;
	CString	m_strUserName;
	int		m_nAge;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSetLocalUserInfo)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSetLocalUserInfo)
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	afx_msg void OnKey();
	afx_msg void OnDestroy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	BOOL m_bSaveKey;
	BC_INFO m_userInfo;
	CString m_strKey;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SETLOCALUSERINFO_H__059AF586_413D_4827_8318_F60EA483B388__INCLUDED_)
